package com.kingmed.kmss.common.dto.admin.ums;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 后台流程角色与用户关联表
 * </p>
 *
 * @author wyl
 * @since 2023-02-17
 */
@Getter
@Setter
@ApiModel(value = "UmsBpmnMembership对象", description = "后台流程角色与用户关联表")
public class BpmnMembershipDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("流程角色ID")
    private Long groupId;

    @ApiModelProperty("流程角色Key")
    private String groupKey;

    @ApiModelProperty("用户ID")
    private Long adminId;

    @ApiModelProperty("用户名称")
    private String username;

    @ApiModelProperty("用户所属子公司")
    private Long adminBranchId;

    @ApiModelProperty("用户所属大区")
    private Long adminRegionId;

    // 查询展示用---------------------------
    @ApiModelProperty("用户所属子公司")
    private String adminBranchName;

    @ApiModelProperty("用户所属大区")
    private String adminRegionName;

    @ApiModelProperty("用户所属组织（来源HR）")
    private String orgFullName;

    @ApiModelProperty("HR系统员工号")
    private String employeeNum;

    @ApiModelProperty("姓名")
    private String nickName;

}
